package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.PoMpsinfo;
import com.example.demo.vo.PoMorderMaterialVo;
import com.example.demo.vo.PoMorderVo;
import com.example.demo.vo.PoMpsinfoVo;
import com.example.demo.vo.SlCallbackListVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;

@Repository
public interface PoMpsinfoMapper extends BaseMapper<PoMpsinfo> {
    List<PoMpsinfoVo> getPoMpsinfoVoList();

    void updateDistributemarkByMpsid(String mpsId);

    void syncProcurementDetails();

    void syncPurchaseReceiptDetails();
    void updatePurchaseReceiptDetails();

    List<PoMpsinfoVo> getPoMpsinfoVoListFromPrePurchase();

    void updateErpPurchaseBillByPrototype(Integer isPrototype, String billNo);

    List<PoMorderVo> getPoMorderVoList();

    void updatePoMorderErpFillBackPoMorder(String mordernoWithErp,String morderno);

    List<PoMorderMaterialVo> getPoMorderMaterialVoList(String morderno);

    void syncProcurementDetailsByOrderNo(@Param("purchaseOrderNo") String purchaseOrderNo);

    List<SlCallbackListVo> getSlCallbackList(String slno, String pmdt001,String mcode);

    void wmsErpNotOkExecSl();

    void wmsErpNotOkExecSj();

    void wmsErpNotOkExecOutScfl();

    List<SlCallbackListVo> getSlCallbackListWw(String slno, String pmdt001, String mcode, String checkNo);

    void wmsErpProcurementDetailsPmdnseq(String purchaseOrderNo);

    void wmsAnewCallBack();
}
